package com.bangyu.monitor.modular.system.mapper;

import com.bangyu.monitor.modular.system.entity.Area;
import com.bangyu.monitor.modular.system.entity.BendMapping;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 地区mapper
 */
public interface AreaMapper extends BaseMapper<Area> {

   List<Area> queryByParentCode(@Param("parentCode") Integer parentCode);

   List<Area> queryProvince();
}
